package com.ysxsoft.wdg.bean.response;

import java.util.List;

public class CouponListResponse {

    /**
     * code : 200
     * ms : 成功
     * data : [{"id":1,"quan_id":4,"uid":783,"endtime":"2018-11-29","status":0,"addtime":1540524785,"price":"50.00","limit":"0","company":"14"}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * quan_id : 4
         * uid : 783
         * endtime : 2018-11-29
         * status : 0
         * addtime : 1540524785
         * price : 50.00
         * limit : 0
         * company : 14
         */

        private int id;
        private int quan_id;
        private int uid;
        private String endtime;
        private int status;
        private long addtime;
        private String price;
        private String limit;
        private String company;
        private String companyid;

        public String getCompanyid() {
            return companyid == null ? "" : companyid;
        }

        public void setCompanyid(String companyid) {
            this.companyid = companyid;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getQuan_id() {
            return quan_id;
        }

        public void setQuan_id(int quan_id) {
            this.quan_id = quan_id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getEndtime() {
            return endtime == null ? "" : endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getAddtime() {
            return addtime;
        }

        public void setAddtime(long addtime) {
            this.addtime = addtime;
        }

        public String getPrice() {
            return price == null ? "" : price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getLimit() {
            return limit == null ? "" : limit;
        }

        public void setLimit(String limit) {
            this.limit = limit;
        }

        public String getCompany() {
            return company == null ? "" : company;
        }

        public void setCompany(String company) {
            this.company = company;
        }
    }
}
